@set CONFIG=tiny_kernel

@call %_WINCEROOT%\PUBLIC\COMMON\OAK\MISC\WINCE.BAT %1 %2 %3 %4 %5
@call %_PUBLICROOT%\cebase\%CONFIG%.bat

set WINCEDEBUG=debug

@%_WINCEDRIVE%
@cd %_TARGETPLATROOT%
Title (WinCE %_WINCEOSVER%) %_TARGETPLATROOT% - %CONFIG% - %WINCEDEBUG%

set _FLATRELEASEDIR=%_WINCEROOT%\release\%_TGTPLAT%_%_TGTPROJ%_%CONFIG%\%_TGTCPU%\%WINCEDEBUG%

REM IMG flags
REM -------------------
set IMGNODEBUGGER=1
set IMGNOKITL=
set IMGCELOGENABLE=
set IMGPROFILER=

set IMGTRUSTROMONLY=
set IMGNODFLTDDK=1
set IMGNOTALLKMODE=1

REM items that affect EBOOT\XLDR
REM -------------------
set IMGFLASH=
set IMGULDR=
set IMGONENAND=

set IMGHIGHSECURITY=
set BSP_DVI_ENABLE=1

REM Display related
REM -------------------
set BSP_DVI_640W_480H=1
set BSP_NODISPLAY=1
set BSP_NOD3DM=1
set BSP_NOVRFB=1
set BSP_NOBACKLIGHT=1
set BSP_NOTOUCH=1

REM Core Drivers
REM -------------------
set BSP_NOTWL=
set BSP_NODMA=
set BSP_NOGPIO=
set BSP_NORTC=
set BSP_NOMCBSP=
set BSP_NO_BSPINFO=

set BSP_NOSPI=1
set BSP_NOSPI2=1
set BSP_NOSPI3=1
set BSP_NOSPI4=1

REM SDHC Related
REM -------------------
set BSP_NO_CUSTOM_SDMEMORY=1
set BSP_NOSDHC=
set BSP_NOSDHC2=1

REM This pin is used for DVI_PUP on Beagle
set BSP_NOHDQ=1


set BSP_NOSHAREETH=

set BSP_NOAUDIO=1
set BSP_NOBATTERY=1
set BSP_NOCAMERA=1
set BSP_NOCAMERA_MDC=1

REM RS232
REM -------------------
set BSP_NOCOM=1
set BSP_NOCOM3=1

REM Power Management Related
REM -------------------
set BSP_NOPMEXT=1


set BSP_NODVFS=1
set BSP_NOETHERNET=1
set BSP_SMSC911X=

set BSP_NOHDQ=1
set BSP_NOHEADSET=1
set BSP_NOIRDA=1
set BSP_NOKEYBD=1
set BSP_NOKEYPAD=1
set BSP_NOMADC=1
set BSP_NONAND=1
set BSP_NOPCCARD=1
set BSP_NOPCIBUS=1
set BSP_NOPWRKEY=1


REM USB Related
REM -------------------
set BSP_NOUSB=1
set BSP_NOUSBEHCI=1
set BSP_NOUSBHSOTG=1
set BSP_NOUSBOHCI=1
set BSP_NOUSBSER=1
set BSP_NOUSBTLL1=1
set BSP_NOUSBTLL2=1
set BSP_USBHSOTG_ISP1504=
set BSP_USBOTG=

REM DSP Related
REM -------------------
set BSP_CMEM=
set BSP_DSPLINK=
set BSP_DSHOWFILTER=
set BSP_H264_DECODE_FILTER=
set BSP_MPEG4_DECODE_FILTER=
set BSP_MPEG2_DECODE_FILTER=

REM Applications
REM -------------------
set BSP_SIMPLE_BENCHMARK=
set BSP_DMAI_SAMPLE_APPLICATIONS=
set BSP_FLASH_PLAYER=
set BSP_BSQUARE_FLASH_DEMO=



REM -------------------
REM SYSGEN Section
REM -------------------


REM Standard I/O (STDIO)
REM -------------------
set SYSGEN_NKCOMPR=1
set SYSGEN_LOCUSA=1
set SYSGEN_FULL_CRT=1
set SYSGEN_NKMAPFILE=1
set SYSGEN_MSGQUEUE=1
set SYSGEN_SERDEV=1
set SYSGEN_STRSAFE=1


REM RAM-based Registry
REM -------------------
set SYSGEN_FSREGRAM=1
set SYSGEN_FSRAMROM=1


REM Target Control
REM -------------------
set SYSGEN_SHELL=1
set SYSGEN_RELFSD=1
set SYSGEN_STOREMGR=1
set SYSGEN_TOOLHELP=1


REM Shell Extension "DO CMD"
REM -------------------
set SYSGEN_CEDDK=1
set BSP_NOI2CPROXY=
set BSP_NOPROXYDRIVER=
set BSP_SHELL_EXTENSIONS_DO_CMD=1


REM Device Manager
REM -------------------
set SYSGEN_DEVICE=1
set SYSGEN_STDIO=1
set SYSGEN_CEDDK=1


set SYSGEN_FATFS=1
set SYSGEN_FATUTIL_NOUI=1
set SYSGEN_FSRAMROM=1
set SYSGEN_FSREGRAM=1
set SYSGEN_FULL_CRT=1
set SYSGEN_STOREMGR=1
set SYSGEN_FSDBASE=1
set SYSGEN_CACHEFILT=1
set SYSGEN_SDBUS=1
set SYSGEN_SD_MEMORY=1
set SYSGEN_FMTMSG=1

set SYSGEN_CORESTRA=1
set SYSGEN_CPP_EH_AND_RTTI=1
set SYSGEN_STDIOA=1
set SYSGEN_STRSAFE=1
set SYSGEN_TOOLHELP=1
set SYSGEN_WCETK=1


REM No UI Notification
REM -------------------
REM set BSP_NONLED=1
set BSP_NOTLED=1
set SYSGEN_NLED=1
set SYSGEN_MINNOTIFY=1
